package net.sudot.gradlemultimodule.demo01;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Demo
 *
 * @author tangjialin on 2020/3/8.
 */
@RequestMapping
@RestController
public class Demo01Controller {

    @RequestMapping("/demo01")
    @ResponseBody
    public String index() {
        return "demo01";
    }
}
